package com.sgb.member.ui.adapter;

import android.content.Context;

import com.sgb.member.BR;
import com.sgb.member.R;
import com.sgb.member.entity.BusinessOpportBean;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class MemberOpportunityAdapter extends BaseRecycleAdapter<BusinessOpportBean> {

    public MemberOpportunityAdapter(Context context, List<BusinessOpportBean> datas) {
        super(context, R.layout.item_member_opportunity, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, BusinessOpportBean bean) {
        holder.setBinding(BR.itemBean, bean);
    }
}
